export const JSJAC_HAVEKEYS:boolean = true;          // whether to use keys
export const JSJAC_NKEYS   :number= 16;            // number of keys to generate

export const JSJAC_INACTIVITY:number= 300;         // qnd hack to make suspend/resume
                                // work more smoothly with polling

export const JSJAC_ERR_COUNT:number= 10;           // number of retries in case of
                                // connection errors

export const JSJAC_ALLOW_PLAIN:boolean = true;       // whether to allow plaintext logins

export const JSJAC_ALLOW_SCRAM:boolean = false;      // allow usage of SCRAM-SHA-1
                                // authentication; please note that it
                                // is quite slow so it is disable by
                                // default

export const JSJAC_CHECKQUEUEINTERVAL:number= 100; // msecs to poll send queue
export const JSJAC_CHECKINQUEUEINTERVAL:number= 100; // msecs to poll incoming queue
export const JSJAC_TIMERVAL:number= 2000;          // default polling interval

export const JSJAC_RETRYDELAY:number= 5000;        // msecs to wait before trying next
                                // request after error

export const JSJAC_REGID_TIMEOUT:number= 20000;    // time in msec until registered
                                // callbacks for ids timeout

/* Options specific to HTTP Binding (BOSH) */
export const JSJACHBC_MAX_HOLD:number= 1;          // default for number of connctions
                                // held by connection manager

export const JSJACHBC_MAX_WAIT:number= 300;        // default 'wait' param - how long an
                                // idle connection should be held by
                                // connection manager

export const JSJACHBC_BOSH_VERSION :string= "1.10";
export const JSJACHBC_USE_BOSH_VER :boolean = true;

export const JSJACHBC_MAXPAUSE:number= 120;        // how long a suspend/resume cycle may
                                // take

/*** END CONFIG ***/
